package dbi.org.model;

public class Reference {
	private String name;
	public GroupKey fromGroup;
	public GroupKey toGroup;
	
	public Reference(String eenReferentienaam, GroupKey fromGroup, GroupKey toGroup) {
		this.setReferentienaam(eenReferentienaam);
		this.setfromGroup(fromGroup);
		this.settoGroup(toGroup);
	}
	
	public String getName() {
		return name;
	}

	public void setReferentienaam(String theReferenceName) {
		this.name = theReferenceName;
	}

	public void setfromGroup(GroupKey fromGroup) {
		this.fromGroup = fromGroup;
	}

	/**
	 * @return the forkey
	 */
	public GroupKey gettoGroup() {
		return toGroup;
	}

	/**
	 * @param forkey the forkey to set
	 */
	public void settoGroup(GroupKey toGroup) {
		this.toGroup = toGroup;
	}
	
	/**
	 * @return the forkey
	 */
	public GroupKey getfromGroup() {
		return fromGroup;
	}



	
	
	

}
